<!doctype html>
<html class="x-admin-sm" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="stylesheet" href="/static/css/font.css">
    <link rel="stylesheet" href="/static/css/xadmin.css">
    <link rel="stylesheet" href="/static/lib/layui/css/layui.css">
</head>
<body style="height: 100%;">
<table class="layui-table">
    <colgroup>
        <col width="150">
        <col width="200">
        <col width="100">
    </colgroup>
    <thead>
    <tr>
        <th>名称</th>
        <th>编码</th>
        <th>类型</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="dl:${allDictList}">
        <td>[[${dl.name}]]</td>
        <td>[[${dl.cord}]]</td>
        <td>[[${dl.type}]]</td>
    </tr>
    </tbody>
</table>
<div class="layui-card-body ">
    <div class="page">
        <div>
            <a class="prev" th:href="@{/dict/page(id=0,currentPage=1)}">首页</a>
            <a class="num" th:if="${page.currentPage>1}" th:href="@{/dict/page(id=0,currentPage=${page.currentPage-1})}">上一页</a>
            <a class="current" th:if="${page.currentPage<page.totalPage}" th:href="@{/dict/page(id=0,currentPage=${page.currentPage+1})}">下一页</a>
            <a class="next"  th:href="@{/dict/page(id=0,currentPage=${page.totalPage})}">尾页</a>
        </div>
    </div>
</div>
</body>
</html>